package com.xiaoma.tpo.dao;

import org.springframework.stereotype.Repository;

import com.xiaoma.tpo.baseDao.BaseDaoImpl;
import com.xiaoma.tpo.domain.TRoleRight;
@Repository
public class TRoleRightDao extends BaseDaoImpl<TRoleRight>{

	public void deleteBefore(Integer roleId) {
		String sql = "delete from t_role_right where role_id = "+roleId;
		jdbcTemplate.execute(sql);
		
	}
	
}
